package com.cn.hnust.controller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cn.hnust.service.IUserService;

@Controller
@RequestMapping("/")
public class HelloController { 
    @Resource  
    private IUserService userService;  
      
    @RequestMapping("/index")  
    public String toIndex(HttpServletRequest request,Model model){  
    	 
        return "index";   
        
    }
    
}
